package cn.edu.jxau.service;

import cn.edu.jxau.dao.NoticeDao;
import cn.edu.jxau.dao.NotificationDao;

public class deleteMessage {
    
	public static void delNoticeByID(String noticeId){
		//根据id删除响应的公告
		NoticeDao noticedao=new NoticeDao();
		noticedao.delByID(noticeId);
		
	}
	//删除资讯
	public static void delNotificationByID(String notificationID){
		
		NotificationDao notificationDao=new NotificationDao();
		
		notificationDao.delByID(notificationID);
	}
}
